<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Detail extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
		$this->load->model('Blogs','bg');
	}
	public function details()
	{
		echo 22;
		$list=$this->bg->getInfoById(1);
		//var_dump($list);
		$this->load->driver('cache');
		$foo=$this->cache->file->get('foo');
		echo $foo;
		//$this->load->driver('cache');
		$this->cache->file->save('foo', 'bar', 1000);
		$data['info']="hello worldxxxxxxxxxxxx";
		$this->load->view('Index/index',$data);
	}
}

/* End of file welcome.php */
/* Location: ./public/controllers/welcome.php */